//
//  SettingList.h
//  Trading365
//
//  Created by yifei tong on 12-1-12.
//  Copyright (c) 2012年 dhc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AudioToolbox/AudioToolbox.h>

#define KFileName @"data.plist"
#define Key_SetBackWarning @"Settings_BackWarning"
#define Key_PersonalLetter @"Settings_PersonalLetter"
#define Key_LeaveMessage @"Settings_LeaveMessage"
#define Key_Shake @"Settings_Shake"

@interface SettingList : UIViewController
{
    NSMutableDictionary * Dict;
    BOOL switchEnable;
    NSArray *arr;
    NSArray *arrDescription;
}

@property(nonatomic,retain) IBOutlet UITableView *table;
@property(nonatomic,retain) NSMutableDictionary * Dict;
@property(nonatomic,retain) NSArray *arr;
@property(nonatomic,retain) NSArray *arrDescription;

-(void)settingSaves:(NSMutableDictionary *) dict;
-(NSString *)dataFilePath;
-(void)switchChanged:(id)sender;
-(void)setControlEnable:(BOOL) flag;
- (void)vibrate;

@end
